import service from '@/utils/request'

// @Tags ProductStylesEyespleen
// @Summary 创建款式资讯-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesEyespleen true "创建款式资讯-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /productStylesEyespleen/createProductStylesEyespleen [post]
export const createProductStylesEyespleen = (data) => {
  return service({
    url: '/productStylesEyespleen/createProductStylesEyespleen',
    method: 'post',
    data
  })
}

// @Tags ProductStylesEyespleen
// @Summary 删除款式资讯-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesEyespleen true "删除款式资讯-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesEyespleen/deleteProductStylesEyespleen [delete]
export const deleteProductStylesEyespleen = (params) => {
  return service({
    url: '/productStylesEyespleen/deleteProductStylesEyespleen',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesEyespleen
// @Summary 批量删除款式资讯-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除款式资讯-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /productStylesEyespleen/deleteProductStylesEyespleen [delete]
export const deleteProductStylesEyespleenByIds = (params) => {
  return service({
    url: '/productStylesEyespleen/deleteProductStylesEyespleenByIds',
    method: 'delete',
    params
  })
}

// @Tags ProductStylesEyespleen
// @Summary 更新款式资讯-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.ProductStylesEyespleen true "更新款式资讯-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /productStylesEyespleen/updateProductStylesEyespleen [put]
export const updateProductStylesEyespleen = (data) => {
  return service({
    url: '/productStylesEyespleen/updateProductStylesEyespleen',
    method: 'put',
    data
  })
}

// @Tags ProductStylesEyespleen
// @Summary 用id查询款式资讯-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.ProductStylesEyespleen true "用id查询款式资讯-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /productStylesEyespleen/findProductStylesEyespleen [get]
export const findProductStylesEyespleen = (params) => {
  return service({
    url: '/productStylesEyespleen/findProductStylesEyespleen',
    method: 'get',
    params
  })
}

// @Tags ProductStylesEyespleen
// @Summary 分页获取款式资讯-眼型脾型列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取款式资讯-眼型脾型列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /productStylesEyespleen/getProductStylesEyespleenList [get]
export const getProductStylesEyespleenList = (params) => {
  return service({
    url: '/productStylesEyespleen/getProductStylesEyespleenList',
    method: 'get',
    params
  })
}
